package o;

import android.view.View;
import com.huawei.support.widget.HwBottomNavigationView;
import java.lang.ref.WeakReference;

public class flz extends SkinAttr {

    static final class e extends fkz<SkinAttr, Integer> {
        private WeakReference<HwBottomNavigationView> ॱ;

        public /* synthetic */ void ॱ(Object obj) {
            ˎ((Integer) obj);
        }

        private e(HwBottomNavigationView hwBottomNavigationView) {
            this.ॱ = new WeakReference(hwBottomNavigationView);
        }

        public void ˎ(Integer num) {
            HwBottomNavigationView hwBottomNavigationView = (HwBottomNavigationView) this.ॱ.get();
            if (hwBottomNavigationView != null) {
                fkx.ˋ(hwBottomNavigationView, num.intValue());
            }
        }
    }

    public flz() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof HwBottomNavigationView) {
            HwBottomNavigationView hwBottomNavigationView = (HwBottomNavigationView) view;
            if ("color".equals(this.attrValueTypeName)) {
                this.ʽ = "color";
                fks.ˎ(view.getContext(), this, new e(hwBottomNavigationView)).ॱ(z);
            }
        }
    }
}
